<?php
namespace App\Http\Controllers\Auth;

use App\User;
//use Validator;
use Illuminate\Support\Facades\Validator;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ThrottlesLogins;
use Sarav\Multiauth\Foundation\AuthenticatesAndRegistersUsers;

class AdminAuthController extends Controller{
    use  AuthenticatesAndRegistersUsers,ThrottlesLogins;

    public function __construct()
    {
        $this->user='admin';
        $this->middleware('admin.guest',['except'=>'getLogout']);
    }
}